import { buildService } from '../../helper/service'

// 值类型为String或Object,String为url(method),Object同axios(config)参数支持相同,data和params只能为对象类型
const settings = {
  // 快捷导航-列表
  getNavigationList: {
    url: '/web/v1/smart_site/navigation/list',
    method: 'get'
  },
  // 快捷导航-保存
  saveNavigation: {
    url: '/web/v1/smart_site/navigation/save',
    method: 'post'
  },
  // 获取消息列表
  getMessageList: {
    url: '/web/v1/smart_site/dynamic/list',
    method: 'get'
  }
}

export default buildService(settings)
